package com.example.messagemodule.entity;

import com.hyphenate.chat.EMMessage;

import java.util.List;

public class EventBusMessageEntity {

    private String mesageType;
    private List<EMMessage> messages;

    public EventBusMessageEntity(String mesageType, List<EMMessage> messages) {
        this.mesageType = mesageType;
        this.messages = messages;
    }

    public List<EMMessage> getMessages() {
        return messages;
    }

    public void setMessages(List<EMMessage> messages) {
        this.messages = messages;
    }

    public String getMesageType() {
        return mesageType;
    }

    public void setMesageType(String mesageType) {
        this.mesageType = mesageType;
    }
}
